package sis.ra.yahoor.result;

import java.util.ArrayList;
import java.util.HashMap;

import sis.ra.partofspeech.wordindex;

public class test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		HashMap<Integer,wordindex> posresult=parseYahooResults.pos("<b>PRODUCT</b> launched on October 17, 1990, and in 1998 was acquired by <b>COMPANY</b>. Contents", "text");
		ArrayList<String> resultlist=parseYahooResults.getResultList (posresult);
		String result="";
		boolean containVerb=false;
		String verb="";
		int verbpos=0;
		for (int n=0;n<resultlist.size();n++)
		{
			result=result+resultlist.get(n);
		}
			System.out.println(result);
	}

}
